<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			//声明若干类来表示生活中的例子，例如：书、房子、树等等，至少5个。
			function Book(title,author){
				this.title = title;
				this.author = author;
			}
			var book = new Book("《围城》","钱钟书");
			
			function House(Area,Hz){
				this.Area = Area;
				this.Hz = Hz;
			}
			var house = new House("500㎡","李欧雯");
			
			function Tree(height,variety){
				this.height = height;
				this.variety = variety;
			}
			var tree = new Tree("10m","苹果树");
			
			function Car(brand,color){
				this.brand = brand;
				this.color = color;
			}
			var car = new Car("Maserati","红色");
			
			function Play(name,lines){
				this.name = name;
				this,lines = lines;
			}
			var play = new Play("夏侯惇","独眼是男人的魅力");
		</script>
	</body>
</html>
